package com.jeeplus.modules.sys.entity;

import java.io.Serializable;
import java.util.Arrays;

public class WeChatUser implements Serializable{

	/**
	 * 微信后台管理用户实体类
	 */
	private static final long serialVersionUID = -2390387677567570492L;
	private String userid;//成员UserID。不区分大小写。长度为1~64字节。
	private String name;//成员名称。长度1~64个字节
	private int[] department;//部门id，不超过20个
	private String position;//职位信息。长度0~64这季节
	private String mobile;//手机号码。唯一
	private int gender;//性别1代表男2代表女
	private String email;//邮箱长度为0~64字节
	private String weixinid;//微信号
	private String avatar_mediaid;//成员头像的mediaid，通过多媒体接口上的上传图片获得的mediaid
	private String extattr;//扩展属性
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int[] getDepartment() {
		return department;
	}
	public void setDepartment(int[] department) {
		this.department = department;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getWeixinid() {
		return weixinid;
	}
	public void setWeixinid(String weixinid) {
		this.weixinid = weixinid;
	}
	public String getAvatar_mediaid() {
		return avatar_mediaid;
	}
	public void setAvatar_mediaid(String avatar_mediaid) {
		this.avatar_mediaid = avatar_mediaid;
	}
	public String getExtattr() {
		return extattr;
	}
	public void setExtattr(String extattr) {
		this.extattr = extattr;
	}
	@Override
	public String toString() {
		return "WeChatUser [userid=" + userid + ", name=" + name
				+ ", department=" + Arrays.toString(department) + ", position="
				+ position + ", mobile=" + mobile + ", gender=" + gender
				+ ", email=" + email + ", weixinid=" + weixinid
				+ ", avatar_mediaid=" + avatar_mediaid + ", extattr=" + extattr
				+ "]";
	}
	
}
